def convert_time_format():
    # 时间格式转换实现（同上）
    format_templates = {
        "中国": "{year}年{month}月{day}日 {hour}:{minute}:{second}",
        "美国": "{month}/{day}/{year} {hour}:{minute}:{second}",
        "英国": "{day}/{month}/{year} {hour}:{minute}:{second}",
        "德国": "{day}.{month}.{year} {hour}:{minute}:{second}",
        "俄罗斯": "{day}.{month}.{year} {hour}:{minute}:{second}",
        "澳大利亚": "{day}/{month}/{year} {hour}:{minute}:{second}",
        "法国": "{day}/{month}/{year} {hour}:{minute}:{second}",
        "加拿大": "{year}-{month}-{day} {hour}:{minute}:{second}"
    }
    
    print("===== 时间格式转换器 =====")
    year = input("请输入年份: ")
    month = input("请输入月份: ")
    day = input("请输入日期: ")
    hour = input("请输入小时: ")
    minute = input("请输入分钟: ")
    second = input("请输入秒钟: ")
    
    print("\n支持的地区：", list(format_templates.keys()))
    region = input("请输入要转换的地区: ")
    
    if region not in format_templates:
        print(f"不支持{region}的时间格式转换")
        return
    
    formatted_time = format_templates[region].format(
        year=year, month=month, day=day,
        hour=hour, minute=minute, second=second
    )
    print(f"\n{region}时间格式: {formatted_time}")

def create_business_card():
    # 名片制作实现（同上）
    print("\n===== 名片制作 =====")
    name = input("请输入姓名: ")
    position = input("请输入职位: ")
    company = input("请输入单位名称: ")
    phone = input("请输入电话: ")
    email = input("请输入邮箱: ")
    
    card_template = """
================================
姓名：{name}
职位：{position}
单位名称：{company}
电话：{phone}
邮箱：{email}
================================
    """
    
    business_card = card_template.format(
        name=name, position=position, company=company,
        phone=phone, email=email
    )
    
    print("\n您的名片如下：")
    print(business_card)

# 主程序
if __name__ == "__main__":
    convert_time_format()
    create_business_card()